<?php
/**
 * Author: Long Doan
 * Date: 4/15/11 11:15 AM
 */

?>
<div class="wrap">
	<?php screen_icon( 'option-main' ); ?>
	<h2>
		<?php _e("WordSpinner Options") ?> 
	</h2>

    <form name="form1" method="post" action="<?php echo str_replace('%7E', '~', $_SERVER['REQUEST_URI']); ?>">

        <input type="hidden" name="<?php echo $hidden_field_name; ?>" value="Y">

		<table class="form-table">
			<tbody>	
				<tr valign="top">
					<th scope="row">
						<label for="splitchar"><?php _e('Split Character') ?></label>
					</th>
					<td>
						<input id="splitchar" type="text" name="<?php echo $field1; ?>" value="<?php echo get_option('wspin_splitchar'); ?>" size="2" maxlength="1">
					</td>
				</tr>
				
				<tr valign="top">
					<th scope="row">
						<label for="leftchar"><?php _e('Left Character') ?></label>
					</th>
					<td>
						<input id="leftchar" type="text" name="<?php echo $field2; ?>" value="<?php echo get_option('wspin_leftchar'); ?>" size="2" maxlength="2">
					</td>
				</tr>
				
				<tr valign="top">
					<th scope="row">
						<label for="rightchar"><?php _e('Right Character') ?></label>
					</th>
					<td>
						<input id="rightchar" type="text" name="<?php echo $field3; ?>" value="<?php echo get_option('wspin_rightchar'); ?>" size="2" maxlength="2">
					</td>
				</tr>
				
			</tbody>	
		</table>

        <p class="submit">
            <input type="submit" name="Submit" value="Save"/>
        </p>
    </form>
</div>